package com.mall.service;

import com.mall.po.Activity;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhanghui
 * @ClassName ActityService
 * @Description TODO
 * @Date 2021/1/6 17:13
 * @Version 1.0
 **/

public interface ActityService {
    //通过手机名查询活动信息
    public Activity findActityByName(String goodsname);

    //添加活动
    public int addActity(Activity activity);

    //修改活动
    public int updateActity(Activity activity);

    //删除活动
    public int deleteActity(int activitysid);

    //批量删除活动
    public boolean deleteActityList(Integer[] activitysids);

    //分页查询活动
    public List<Activity> findActivityList(int page,int pagesize);

}
